package com.tem.administration.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 求职简历
 * </p>
 *
 * @author 鸿源塔基
 * @since 2023-10-27
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("resume")
@ApiModel(value="Resume对象", description="求职简历")
public class Resume implements Serializable {

    private static final long serialVersionUID=3654657909241L;

    @ApiModelProperty(value = "收到的求职简历")
    @TableId(value = "resume_id", type = IdType.AUTO)
    private Long resumeId;

    @ApiModelProperty(value = "企业分店")
    @TableField("sys_branch_office_id")
    private Long sysBranchOfficeId;

    @ApiModelProperty(value = "创建人")
    @TableField("sys_user_id")
    private Long sysUserId;

    @ApiModelProperty(value = "招聘职位")
    @TableField("position_id")
    private Long positionId;

    @ApiModelProperty(value = "简历标题")
    @TableField("title")
    private String title;

    @ApiModelProperty(value = "是否已读")
    @TableField("read_status")
    private Integer readStatus;

    @ApiModelProperty(value = "是否采纳")
    @TableField("adopt_status")
    private Integer adoptStatus;

    @ApiModelProperty(value = "面试状态")
    @TableField("interview_status")
    private Integer interviewStatus;

    @ApiModelProperty(value = "简历附件")
    @TableField("file_url")
    private String fileUrl;

    @TableField("deleted")
    @TableLogic
    private Integer deleted;


}
